<?php

namespace app\interfaces\validate;

use think\Validate;

class Shop extends Validate
{
    protected $rule = [
        ['title', 'unique:shop']

    ];

    protected $message = [
        'title.unique' => '店铺名重复'
    ];
}